<script setup lang="ts">
import { useI18n } from 'vue-i18n'
import { useAppStoreHook } from '@/stores/modules/app'
defineOptions({
  name: 'app'
})
const { locale } = useI18n()
const useAppStore = useAppStoreHook()
const init = () => {
  locale.value = useAppStore.INIT()
}
init()
</script>

<template>
  <div class="app">
    <router-view></router-view>
  </div>
</template>

<style lang="scss" scoped></style>
